const getters = {
  roles: (state) => state.user.roles,
  user: (state) => state.user.user,
  routes: (state) => state.permission.routes,
  navs: (state) => state.permission.navs,
  dialogAddVisible: (state) => state.system.dialogAddVisible,
  dialogUpdateVisible: (state) => state.system.dialogUpdateVisible,
  oneMenu: (state) => state.system.oneMenu,
  oneRole: (state) => state.system.oneRole,
  oneUser: (state) => state.system.oneUser,
  oneDist: (state) => state.system.oneDist,
  distItemVisible: (state) => state.system.distItemVisible,
};

export default getters;
